<template>
  <a-form-model-item label="Activity name" prop="name" :rules="fieldRule">
    <a-input v-model="form.name" />
  </a-form-model-item>
</template>

<script>
export default {
  name: "Name",
  props: {
    form: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {
      fieldRule: [
        {
          required: true,
          message: "domain can not be null",
          trigger: "blur"
        }
      ]
    };
  }
};
</script>

<style>
</style>